var request = require('request')

var url = "https://qun.qq.com/cgi-bin/qun_mgr/search_group_members";
var cookie = "RK=HHhkHY/K2X; ptcz=1989b52b7929b46d42c5559c438e8d296a43417c7baf4b8a91381f622c9b9d9e; sd_userid=54861623395361479; sd_cookie_crttime=1623395361479; pgv_pvid=8063076590; pac_uid=0_0eacdaaca9b82; tvfe_boss_uuid=2d12e604c7171643; o_cookie=2416762335; pgv_info=ssid=s6853243625; uin=o2416762335; _qpsvr_localtk=0.9331562149163277; skey=@zmNrcVHij; p_uin=o2416762335; pt4_token=V4jeKHbU9SKNvVZ50BWbPmw1TfrRpiKeGapmV4x*PNw_; p_skey=icBUN3Ib0ekUDTu0Y99dEEAoABwV*akKZ7EKfn*SRIM_; traceid=195104ed36"
var requestData = {
  gc: 531367081,
  st: 0,
  end: 20,
  sort: 0,
  bkn: 1493312256
};
request({
  url: url,
  method: "POST",
  json: true,
  headers: {
    'Host': 'qun.qq.com',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/74.0',
    'Accept': 'application/json, text/javascript, */*; q=0.01',
    'Accept-Language': 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',
    'Accept-Encoding': 'gzip, deflate, br',
    'Referer': 'https://qun.qq.com/member.html',
    'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
    'X-Requested-With': 'XMLHttpRequest',
    'Content-Length': '47',
    'Origin': 'https://qun.qq.com',
    'Cookie': cookie,
    'Connection': 'keep-alive',
    'TE': 'Trailers',
  },
  cookie: cookie,
  body: JSON.stringify(requestData)
}, function (error, response, body) {
  if (!error && response.statusCode == 200) {
    console.log(body);
  }
});